home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- if rollOver(20) then
- set the loc of sprite 48 to point(22, 30)
- else
- set the loc of sprite 48 to point(-1000, 30)
- end if
- go(the frame)
- end
-
- on mouseDown
- set whichSprite to the clickOn
- if (whichSprite >= 2) and (whichSprite <= 4) then
- handleButton(theExportDialog, whichSprite)
- else
- if (whichSprite = 8) or (whichSprite = 9) then
- handleButton(theScrollBar, whichSprite)
- else
- if whichSprite = 7 then
- moveThumbRect(theScrollBar, the mouseH)
- else
- if whichSprite = 10 then
- set offset to the width of sprite 11 / 2
- repeat while the mouseDown
- if (the mouseH >= (the left of sprite 7 + offset)) and (the mouseH <= (the right of sprite 7 - offset)) then
- set the locH of sprite 11 to the mouseH
- end if
- updateStage()
- end repeat
- moveThumbRect(theScrollBar, the locH of sprite 11)
- set the locH of sprite 11 to -1000
- else
- if whichSprite = 48 then
- clickedPreview(theExportDialog)
- end if
- end if
- end if
- end if
- end if
- end
-